/**
 * 
 */
package it.unical.canonaco.rende.igpe.game.cbv.guilayer.sprites.key;


/**
 * @author Massimo Canonaco
 *
 */
public class MotionFrameKey extends AbstractFrameKey 
{
	/** */
	static public final String IDLE = "idle";
	
	/** */
	static public final String MOVE = "move";
	
	/** */
	static public final String ATTACK = "attack";
	
	/** */
	static public final String DAMAGED = "damaged";
	
	/** */
	static public final String DEATH = "death";
	
	/** */
	private String key;
	
	/* (non-Javadoc)
	 * @see it.unical.canonaco.rende.igpe.game.cbv.guilayer.gamemanagermenu.menucomponent.SpriteFrameKeyInterface#getKey()
	 */
	@Override
	public String getKey() 
	{
		return key;
	}

	/**
	 * @param key the key to set
	 */
	public void setKey(String key) {
		this.key = key;
	}

	@Override
	public AbstractFrameKey getCopy() {
		MotionFrameKey mfk = new MotionFrameKey();
		mfk.setKey(new String(key));
		return mfk;
	}
}
